package com.lqd.demo.springboot.config.servlet3;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

@WebListener
public class IndexListener implements ServletContextListener{

	@Override
	public void contextDestroyed(ServletContextEvent arg0) {
		System.out.println("-----------IndexListener contextDestroyed----------");
	}

	@Override
	public void contextInitialized(ServletContextEvent arg0) {
		System.out.println("------------IndexListener contextInitialized--------");
	}

}
